<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

// 1、使用tp5之前，引用think\Route
use think\Route;

// 2、使用get请求获取指定bannner数据
Route::get('api/:version/banner/:id', 'api/:version.Banner/getBanner');
Route::get('api/:version/theme', 'api/:version.Theme/getSimpleList');
<<<<<<< HEAD
Route::get('api/:version/theme/:id', 'api/:version.Theme/getComplexOne');
=======
Route::get('api/:version/theme/:id', 'api/:version.Theme/getComplexOne');
>>>>>>> 9b2eb3568f26fbf29c1364a494691157d3042358
